package com.jlboot.task;

import com.jlboot.core.plugins.cron4j.MyCron4jPlugin;
import com.jlboot.model.po.sys.SysTask;
import com.jlboot.model.po.sys.SysWorkLog;
import com.jfinal.plugin.cron4j.ITask;
import lombok.extern.slf4j.Slf4j;


/**
 * Created by 51594 on 2022/10/12.
 */
@Slf4j
public class SysWorkLogTask implements ITask {

    @Override
    public void run() {
        SysTask.dao.updateLastAction(MyCron4jPlugin.getPlugin().getTaskId(SysWorkLogTask.class));
        SysWorkLog.dao.scyWorkLog();
    }

    @Override
    public void stop() {

    }

}
